package com.lancoo.cvas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;
import lombok.experimental.Accessors;

/**
 * 教学班对应的学生
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
@Data
@TableName("teaching_class_student")
@Accessors(chain = true)
@ApiModel("教学班学生")
public class TeachingClassStudent implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 教学班对应的学生
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;
    /**
     * 教学班id
     */
    @ApiModelProperty("教学班id")
    private Long teachingClassId;

    /**
     * 学生id
     */
    @ApiModelProperty("学生id")
    private Long studentId;
    /**
     * 1已选   2退选   3管理员移除
     */
    @ApiModelProperty("1已选   2退选   3管理员移除")
    private Integer flag;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private LocalDateTime modifiedTime;
    /**
     * 删除标识：
     * 0：未删除
     * 1：删除
     */
    @ApiModelProperty("删除标识")
    private Integer deleted;
    /**
     *
     */
    private String reserve;

}
